package test.bean;

import java.time.LocalDate;
import java.time.LocalTime;

public class Schedule {
    private LocalDate today;
    private boolean update; // 是否排班过，默认未排班

    //上午
    private boolean morning; // 是否看诊
    private LocalTime mstart;
    private LocalTime mend;
    private int mTotalNumber; // 上午接诊的总人数
    private int mAppointNumber; // 上午已挂号预约人数

    // 下午
    private boolean afterNoon; // 是否看诊
    private LocalTime astart;
    private LocalTime aend;
    private int aTotalNumber; // 下午接诊的总人数
    private int aAppointNumber;  // 下午已挂号预约人数

    public Schedule() {
    }

    public Schedule(LocalDate today, boolean morning, LocalTime mstart, LocalTime mend, int mTotalNumber, int mAppointNumber, boolean afterNoon, LocalTime astart, LocalTime aend, int aTotalNumber, int aAppointNumber) {
        this.today = today;
        this.morning = morning;
        this.mstart = mstart;
        this.mend = mend;
        this.mTotalNumber = mTotalNumber;
        this.mAppointNumber = mAppointNumber;
        this.afterNoon = afterNoon;
        this.astart = astart;
        this.aend = aend;
        this.aTotalNumber = aTotalNumber;
        this.aAppointNumber = aAppointNumber;
    }

    public LocalDate getToday() {
        return today;
    }

    public boolean isMorning() {
        return morning;
    }

    public LocalTime getMstart() {
        return mstart;
    }

    public LocalTime getMend() {
        return mend;
    }

    public int getmTotalNumber() {
        return mTotalNumber;
    }

    public int getmAppointNumber() {
        return mAppointNumber;
    }

    public boolean isAfterNoon() {
        return afterNoon;
    }

    public LocalTime getAstart() {
        return astart;
    }

    public LocalTime getAend() {
        return aend;
    }

    public int getaTotalNumber() {
        return aTotalNumber;
    }

    public int getaAppointNumber() {
        return aAppointNumber;
    }

    @Override
    public String toString() {
        return "Schedule{" +
                "today=" + today +
                ", morning=" + morning +
                ", mstart=" + mstart +
                ", mend=" + mend +
                ", mTotalNumber=" + mTotalNumber +
                ", mAppointNumber=" + mAppointNumber +
                ", afterNoon=" + afterNoon +
                ", astart=" + astart +
                ", aend=" + aend +
                ", aTotalNumber=" + aTotalNumber +
                ", aAppointNumber=" + aAppointNumber +
                '}';
    }

    public void setToday(LocalDate localDate) {
    }

    public void remove(Schedule schedule) {
    }

    public boolean isUpdate() {
        return false;
    }

    public void setUpadte(boolean b) {
    }

    public void setMorning(boolean b) {
    }

    public void setMstart(LocalTime parse) {
    }

    public void setMend(LocalTime parse) {
    }

    public void setmTotalNumber(int number) {
    }

    public void setAfternoon(boolean b) {
    }

    public void setAstart(LocalTime parse) {
    }

    public void setAEnd(LocalTime parse) {
    }

    public void setaTotalNumber(int number) {
    }
}
